package com.mirei.listener;import lombok.extern.slf4j.Slf4j;import org.springframework.amqp.rabbit.annotation.Exchange;import org.springframework.amqp.rabbit.annotation.Queue;import org.springframework.amqp.rabbit.annotation.QueueBinding;import org.springframework.amqp.rabbit.annotation.RabbitListener;import org.springframework.stereotype.Component;@Slf4j@Componentpublic class ConsumerConfirmListener {    @RabbitListener(bindings = @QueueBinding(            value = @Queue(name = "boot.consumer.confirm.none"),            exchange = @Exchange(name = "consumer.confirm"),            key = {"consumer.confirm.none"}))    public void listenConsumerConfirmNone(String msg) {        log.info("消费者收到[boot.consumer.confirm.none]队列的消息,内容:{}", msg);        throw new RuntimeException();    }}